package com.ruoyi.project.sell.customer.mapper;

import com.ruoyi.project.sell.customer.domain.SellCustomer;

import java.util.List;

public interface CustomerMapper {
    List<SellCustomer> selectCustomerMapper(SellCustomer sellCustomer);
    //校验客户姓名
    SellCustomer checkCusNameUnique(String cusName);
    //新增客户信息
    int insertCustomerMapper(SellCustomer sellCustomer);
    //删除客户信息
    int deleteCustomerMapper(Long[] cusids);
    //根据id查询客户
    SellCustomer selectCustomerByIdMapper(Integer cusId);
    //修改客户信息
    int updateCustomerMapper(SellCustomer sellCustomer);
}
